CRPEJob::SetNthGroupSortField

Use SetNthGroupSortField to specify that the specified group summary field is sorted in the specified direction (ascending or descending). This method does not create a new group, but will sort an existing group summary field.

Syntax

SetNthGroupSortField (sortFieldN SMALLINT, field CHAR(*), direction SMALLINT) RETURNING BOOLEAN

Parameters

sortFieldN

Specifies the 0-based number of the group sort field that you want to set. The first group sort field added to the report is field 0, the second is 1, etc. If the report has N group sort fields, the function can be called with this parameter between 0 and N-1 to replace an existing group sort field. Call the function with this parameter equal to N to add a new group sort field.

field

Specifies the name of the group field to be sorted.

direction

Specifies one of the Sort Order Constants.

Returns
Related Topics

PESetNthAlertConditionFormula



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com